package com.wpre.springconfigs.controller;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-11-01
 * Time: 13:01
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "student")
public class Student {

    private Integer id;
    private String name;
    private Integer age;
    private List<String> databases;
    private Map<String,String> myMap;
}
